package com.seafwg.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author seafwg
 * @Date 2022/3/23 10:22 上午
 * @Version 1.0
 * @description xxx
 */

@RestController
public class ComponentController {

    /**
     * 测试拦截器的方法：
     * @return
     */
    @RequestMapping("/user/account")
    public String findAccount() {
        return "/user/account";
    }

    @RequestMapping("/user/login")
    public String login() {
        return "/user/login";
    }

    @RequestMapping("/myservlet")
    public String myServlet() {
        return "/myServlet";
    }

    @RequestMapping("/query")
    public String query() {
        return "/query";
    }
}
